package cn.yyh.pet.mapper;

import cn.yyh.basic.mapper.BaseMapper;
import cn.yyh.pet.domain.Pet;
import org.springframework.stereotype.Repository;

import java.util.Map;

@Repository
public interface PetMapper extends BaseMapper<Pet> {
    void onSale(Map<String, Object> params);

    void offSale(Map<String, Object> params);

    Pet loadByIdDetail(Long id);

    Pet loadById(Long id);
}
